package com.ruoyi.server.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 指令业务对象 iot_order
 *
 * @author shanzhuo
 * @date 2023-11-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class IotOrderBo extends BaseEntity {

    /**
     * id
     */
    //@NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 指令名称
     */
    //@NotBlank(message = "指令名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String orderName;

    /**
     * 指令值
     */
    //@NotBlank(message = "指令值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String orderValue;

    /**
     * 备注
     */
    //@NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    /**
     * 状态
     */
    //@NotNull(message = "状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long status;

    /**
     * 指令集ID
     */
    //@NotNull(message = "设备表ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long orderCollectId;


}
